package city.spring.modules.medicalstation.drugsettings.drugsettings.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 实体类：用药设置
 *
 * @author 谢金婷
 * @date 2020-10-15 09:52:06
 */
@Data
@TableName("drugsettings")
public class DrugsettingsEntity implements Serializable {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 老人姓名
     */
    private String oldmanId;

    /**
     * 疾病
     */
    private String diseaseId;

    /**
     * 疾病种类数
     */
    private Integer diseaseQuantity;

    /**
     * 创建时间
     */
    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime gmtModified;
}